<template>
  <div>
    <elInput :count="count" @changeInput="changeInput"></elInput>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import elInput from '@/components/elInput.vue';
const count = ref(10)

const changeInput = (val) => {
  console.log(val);
  count.value = val
}
</script>

<style lang="scss" scoped>

</style>